package com.diandian.backend.store.param;

import com.diandian.backend.store.dto.ElemeRetailStoreBasicUpdateParamDTO;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

public class ElemeRetailStoreBasicUpdateParam implements Serializable {

	private String offlineCode;
	private String onlineCode;
	private String onlineName;
	private String belong;
	private String remark;
	private String orgId;
	private String orgCode;
	private String name;
	private String shopLogo;
	private Integer province;
	private Integer city;
	private Integer county;
	private String address;
	private String phone;
	private String ivrPhone;
	private String servicePhone;
	private String servicePhones;
	private String longitude;
	private String latitude;
	private String coordType;
	private Integer invoiceSupport;
	private Integer packageBoxPrice;
	private Integer businessFormId;
	private String categorys;
	private String businessTime2;
	private Integer bizIdentity;
	private String deliveryTimeType;
	private String imData;
	private String status;
	private String updateUserId;
	private String updateUserName;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date updateTime;

	public ElemeRetailStoreBasicUpdateParamDTO toDTO(){
		ElemeRetailStoreBasicUpdateParamDTO dto = new ElemeRetailStoreBasicUpdateParamDTO();
		dto.setOfflineCode(this.offlineCode);
		dto.setOnlineCode(this.onlineCode);
		dto.setOnlineName(this.onlineName);
		dto.setBelong(this.belong);
		dto.setRemark(this.remark);
		dto.setOrgId(this.orgId);
		dto.setOrgCode(this.orgCode);
		dto.setUpdateUserId(this.updateUserId);
		dto.setUpdateUserName(this.updateUserName);
		dto.setUpdateTime(this.updateTime);
		dto.setName(this.name);
		dto.setShopLogo(this.shopLogo);
		dto.setProvince(this.province);
		dto.setCity(this.city);
		dto.setCounty(this.county);
		dto.setAddress(this.address);
		dto.setPhone(this.phone);
		dto.setIvrPhone(this.ivrPhone);
		dto.setServicePhone(this.servicePhone);
		dto.setServicePhones(this.servicePhones);
		dto.setLongitude(this.longitude);
		dto.setLatitude(this.latitude);
		dto.setCoordType(this.coordType);
		dto.setInvoiceSupport(this.invoiceSupport);
		dto.setPackageBoxPrice(this.packageBoxPrice);
		dto.setBusinessFormId(this.businessFormId);
		dto.setCategorys(this.categorys);
		dto.setBusinessTime2(this.businessTime2);
		dto.setBizIdentity(this.bizIdentity);
		dto.setDeliveryTimeType(this.deliveryTimeType);
		dto.setImData(this.imData);
		dto.setStatus(this.status);
		dto.setUpdateUserId(this.updateUserId);
		dto.setUpdateUserName(this.updateUserName);
		dto.setUpdateTime(this.updateTime);
		return dto;
	}

	public String getOfflineCode() {
		return offlineCode;
	}

	public void setOfflineCode(String offlineCode) {
		this.offlineCode = offlineCode;
	}

	public String getOnlineCode() {
		return onlineCode;
	}

	public void setOnlineCode(String onlineCode) {
		this.onlineCode = onlineCode;
	}

	public String getOnlineName() {
		return onlineName;
	}

	public void setOnlineName(String onlineName) {
		this.onlineName = onlineName;
	}

	public String getBelong() {
		return belong;
	}

	public void setBelong(String belong) {
		this.belong = belong;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	public String getOrgCode() {
		return orgCode;
	}

	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getShopLogo() {
		return shopLogo;
	}

	public void setShopLogo(String shopLogo) {
		this.shopLogo = shopLogo;
	}

	public Integer getProvince() {
		return province;
	}

	public void setProvince(Integer province) {
		this.province = province;
	}

	public Integer getCity() {
		return city;
	}

	public void setCity(Integer city) {
		this.city = city;
	}

	public Integer getCounty() {
		return county;
	}

	public void setCounty(Integer county) {
		this.county = county;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getIvrPhone() {
		return ivrPhone;
	}

	public void setIvrPhone(String ivrPhone) {
		this.ivrPhone = ivrPhone;
	}

	public String getServicePhone() {
		return servicePhone;
	}

	public void setServicePhone(String servicePhone) {
		this.servicePhone = servicePhone;
	}

	public String getServicePhones() {
		return servicePhones;
	}

	public void setServicePhones(String servicePhones) {
		this.servicePhones = servicePhones;
	}

	public String getLongitude() {
		return longitude;
	}

	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}

	public String getLatitude() {
		return latitude;
	}

	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}

	public String getCoordType() {
		return coordType;
	}

	public void setCoordType(String coordType) {
		this.coordType = coordType;
	}

	public Integer getInvoiceSupport() {
		return invoiceSupport;
	}

	public void setInvoiceSupport(Integer invoiceSupport) {
		this.invoiceSupport = invoiceSupport;
	}

	public Integer getPackageBoxPrice() {
		return packageBoxPrice;
	}

	public void setPackageBoxPrice(Integer packageBoxPrice) {
		this.packageBoxPrice = packageBoxPrice;
	}

	public Integer getBusinessFormId() {
		return businessFormId;
	}

	public void setBusinessFormId(Integer businessFormId) {
		this.businessFormId = businessFormId;
	}

	public String getCategorys() {
		return categorys;
	}

	public void setCategorys(String categorys) {
		this.categorys = categorys;
	}

	public String getBusinessTime2() {
		return businessTime2;
	}

	public void setBusinessTime2(String businessTime2) {
		this.businessTime2 = businessTime2;
	}

	public Integer getBizIdentity() {
		return bizIdentity;
	}

	public void setBizIdentity(Integer bizIdentity) {
		this.bizIdentity = bizIdentity;
	}

	public String getDeliveryTimeType() {
		return deliveryTimeType;
	}

	public void setDeliveryTimeType(String deliveryTimeType) {
		this.deliveryTimeType = deliveryTimeType;
	}

	public String getImData() {
		return imData;
	}

	public void setImData(String imData) {
		this.imData = imData;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getUpdateUserId() {
		return updateUserId;
	}

	public void setUpdateUserId(String updateUserId) {
		this.updateUserId = updateUserId;
	}

	public String getUpdateUserName() {
		return updateUserName;
	}

	public void setUpdateUserName(String updateUserName) {
		this.updateUserName = updateUserName;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
}
